﻿namespace KinonekoSoftware.CodariaDB.IO.Formats
{
    public abstract class BinaryFormatBuilder<T>
    {
        public abstract Task<BinaryFormat<T>> Build(uint version, uint type, Stream buffer);
        
        public abstract Task<BinaryFormat<T>> Build(uint version, uint type, byte[] buffer);
    }
}